Better Iterm resetting
[betaflight.git] / docs / Board - SPRacingF3.md
blob192cc2a742918e780a9727b68890d0a17b3c5d8d
1 # Board - SPRacingF3
3 The Seriously Pro Racing MOF3 board (SPRacingF3) is the first board designed specifically for Cleanflight.
5 Full details available on the website, here:
7 http://seriouslypro.com/spracingf3
9 ## Hardware Features
11 * No compromise I/O. Use all the features all the time; e.g. Connect your OSD + SmartPort + SBus + GPS + LED Strip + Battery Monitoring + Sonar + 8 motors - all at the same time!
12 * On-board high-capacity black box flight log recorder - optimize your tuning and see the results of your setup without guesswork. (Acro and Deluxe)
13 * Next-generation STM32 F3 processor with hardware floating point unit for efficient flight calculations and faster ARM-Cortex M4 core.
14 * Stackable design - perfect for integrating with OSDs and power distribution boards.
15 * 16 PWM I/O lines for ESCs, Servos and legacy receivers. 8 available on standard pin headers. 8 via side mounted connectors.
16 * Supports SBus, SumH, SumD, Spektrum1024/2048, XBus, PPM, PWM receivers. No external inverters required (built-in).
17 * Dedicated output for programmable LEDs - great for orientation, racing and night flying.
18 * Dedicated I2C port for connection of OLED display without needing flight battery.
19 * Battery monitoring ports for voltage and current.
20 * Buzzer port for audible warnings and notifications.
21 * Solder pads in addition to connectors for Sonar, PPM, RSSI, Current, GPIO, LED Strip, 3.3v, 
22 * Developer friendly debugging port (SWD) and boot mode selection, unbrickable bootloader.
23 * Symmetrical design for a super tidy wiring.
24 * Wire up using using pin headers, JST-SH sockets or solder pads. Use either right-angled or straight pin-headers.
25 * Barometer mounted on the bottom of the board for easy wind isolation.
27 ## Serial Ports
29 | Value | Identifier   | RX           | TX           | 5v Tolerant | Notes                                                                                       |
30 | ----- | ------------ | ------------ | ------------ | ----------- | ------------------------------------------------------------------------------------------- |
31 | 1     | USART1       | PA10         | PA9          | YES         | Internally connected to USB port via CP2102 IC.  Also available on a USART1 JST connector and on through hole pins. |
32 | 2     | USART2       | PA15         | PA14         | YES         | Available on USART2 JST port only. |
33 | 3     | USART3       | PB11 / IO2_3 | PB10 / IO2_4 | NO          | Available on IO_2, USART3 JST port and through hole pins. |
35 * You cannot use SWD and USART2 at the same time.
36 * You may encounter flashing problems if you have something connected to the USART1 RX/TX pins.   Power other devices of and/or disconnect them.
38 ## Pinouts
40 Full pinout details are available in the manual, here:
42 http://seriouslypro.com/spracingf3#manual
44 ### IO_1
46 The 8 pin IO_1 connector has the following pinouts when used in RX_PARALLEL_PWM mode.
48 | Pin | Function       | Notes                                        |
49 | --- | -------------- | -------------------------------------------- |
50 | 1   | Ground         |                                              |
51 | 2   | VCC_IN         | Voltage as-supplied by BEC.                  |
52 | 3   | RC_CH1         | |
53 | 4   | RC_CH2         | |
54 | 5   | RC_CH5         | |
55 | 6   | RC_CH6         | |
56 | 7   | LED_STRIP      | Enable `feature LED_STRIP`                   |
57 | 8   | VCC            | 3.3v output for LOW CURRENT application only |
59 When RX_PPM/RX_SERIAL is used the IO_1 pinout is as follows.
61 | Pin | Function       | Notes                                        |
62 | --- | -------------- | -------------------------------------------- |
63 | 1   | Ground         |                                              |
64 | 2   | VCC_IN         | Voltage as-supplied by BEC.                  |
65 | 3   | RX_PPM         | Enable `feature RX_PPM`                      |
66 | 4   | GPIO           |                                              | 
67 | 5   | SoftSerial1_RX |                                              | 
68 | 6   | SoftSerial1_TX |                                              | 
69 | 7   | LED_STRIP      | Enable `feature LED_STRIP`                   |
70 | 8   | VCC            | 3.3v output for LOW CURRENT application only |
72 ### IO_2
74 The 8 pin IO_2 connector has the following pinouts when used in RX_PARALLEL_PWM mode.
76 | Pin | Function          | Notes                                        |
77 | --- | ----------------- | -------------------------------------------- |
78 | 1   | Ground            |                                              |
79 | 2   | VCC_IN            | Voltage as-supplied by BEC.                  |
80 | 3   | RC_CH3            |                                              |
81 | 4   | RC_CH4            |                                              |
82 | 5   | RC_CH7/SONAR_TRIG |                                              |
83 | 6   | RC_CH8/SONAR_ECHO |                                              |
84 | 7   | ADC_1             | Current Sensor                               |
85 | 8   | ADC_2             | RSSI                                         |
87 When RX_PPM/RX_SERIAL is used the IO_2 pinout is as follows.
89 | Pin | Function                  | Notes                                        |
90 | --- | ------------------------- | -------------------------------------------- |
91 | 1   | Ground                    |                                              |
92 | 2   | VCC_IN                    | Voltage as-supplied by BEC.                  |
93 | 3   | RX_SERIAL                 | UART3 RX                                     |
94 | 4   |                           | UART3_TX                                     | 
95 | 5   | SONAR_TRIG/SoftSerial2_RX | Enable `feature SONAR/SOFTSERIAL`     | 
96 | 6   | SONAR_ECHO/SoftSerial2_TX | Enable `feature SONAR/SOFTSERIAL`     | 
97 | 7   | ADC_1                     | Current Sensor                               |
98 | 8   | ADC_2                     | RSSI                                         |
100 ### UART1/2/3
102 | Pin | Function       | Notes                                        |
103 | --- | -------------- | -------------------------------------------- |
104 | 1   | Ground         |                                              |
105 | 2   | VCC_IN         | Voltage as-supplied by BEC.                  |
106 | 3   | TXD            |                                              |
107 | 4   | RXD            |                                              |
109 ### I2C
111 | Pin | Function       | Notes                                        |
112 | --- | -------------- | -------------------------------------------- |
113 | 1   | Ground         |                                              |
114 | 2   | 5.0v           | Voltage as-supplied by BEC OR USB, always on |
115 | 3   | SCL            |                                              |
116 | 4   | SDA            |                                              |
118 ### SWD
120 The port cannot be used at the same time as UART2.
122 | Pin | Function       | Notes                                        |
123 | --- | -------------- | -------------------------------------------- |
124 | 1   | Ground         |                                              |
125 | 2   | NRST           | Voltage as-supplied by BEC OR USB, always on |
126 | 3   | SWDIO          |                                              |
127 | 4   | SWDCLK         |                                              |